package com.jyh.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jyh.blog.dto.RoleDTO;
import com.jyh.blog.dto.UserRoleDTO;
import com.jyh.blog.entity.Role;
import com.jyh.blog.vo.ConditionVO;
import com.jyh.blog.vo.RoleVO;

import java.util.List;

/**
 * (Role)表服务接口
 *
 * @author jyh
 * @since 2023-02-14 13:41:48
 */
public interface RoleService extends IService<Role> {

    List<UserRoleDTO> getUserRoleList();

    List<RoleDTO> roleList(ConditionVO conditionVO);

    void saveOrUpdateRole(RoleVO roleVO);

    void deleteRoles(List<Integer> idList);
}

